package cn.dsttl3.tupan.utils;

import java.io.IOException;
import okhttp3.Interceptor;
import okhttp3.Request;
import okhttp3.Response;

//处理重定向的拦截器
public class RedirectInterceptor implements Interceptor {

	public Response intercept(Chain chain) throws IOException {
		Request request = chain.request();
		Response response = chain.proceed(request);
		return response;
	}
}